package com.bsoft.gol.hcs.clinical.service;

import com.bsoft.gol.hcs.clinical.bean.req.*;
import com.bsoft.gol.hcs.clinical.bean.response.*;
import com.bsoft.gol.hcs.specialist.bean.response.CrucialTimeRecordList;
import ctd.controller.exception.ControllerException;
import ctd.util.annotation.RpcService;
import hcn.util.BaseResponse;
import pcn.consultation.OdsDiagnosis;

import java.util.List;

/**
 * @Description: 检验服务
 * @Author: zhaorb
 * @Date: 2020/8/4 17:55
 **/
public interface IExamineService {

    /*获取检验申请单类别和项目*/
    @RpcService
    BaseResponse<List<QueryInspectionItemListResp>> queryInspectionItemList(QueryInspectionItemListReq queryInspectionItemListReq);

    @RpcService
    BaseResponse<List<QuerySampleTypeResp>> querySampleType(QuerySampleTypeReq request);

    /**
     * 根据问诊记录id查询诊断信息
     *
     * @param consultId 问诊id
     * @return 诊断信息
     */
    @RpcService
    List<OdsDiagnosis> queryOdsDiagnosisListByConsultId(String consultId);

    /**
     * 查询患者检验子项的近期数据
     * @param request
     * @return
     * @throws ControllerException
     */
    List<CrucialTimeRecordList>  queryExamReportItemList(ExamReportItemListReq request) throws ControllerException;
}
